package ua.pp.bizon.yandex.api;

import ua.pp.bizon.yandex.api.impl.Activity;
import ua.pp.bizon.yandex.api.impl.Element;
import ua.pp.bizon.yandex.uploader.atom.AlbumsList;

import java.io.File;

public interface IJobFactory {

	/**
	 * @return element for start GUI app
	 */
	public abstract Element StartGUI();

	/**
	 * 
	 * @param name
	 *            = user login
	 * @return element for relogin job
	 */
	public abstract Element relogin(String name);

	/**
	 * 
	 * @param from
	 *            - folder from
	 * @param to
	 *            - album to, may be root
	 * @return element for job {@link Activity#UPLOAD_FOLDER}
	 */
	public abstract Element uploadFolder(File from, AlbumsList to);

	// TODO public abstract Element uploadPhoto(File from, AlbumsList to);

}